mediaReceiver

public abstract MediaReceiver mediaReceiver()

Returns the media receiver of this session.

The method may block the current thread if the receiver is not discovered yet. It may happen when the cast session is not isLocal local} and started on the receiver not yet discovered by the current instance of Chromium.

Throws

when the profile is deleted or its engine is closed

when the receiver has not been discovered within 45 seconds